package com.sf.fy.uav.good.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sf.fy.uav.common.request.order.task.GoodsSoundRecordingDeleteRequest;
import com.sf.fy.uav.common.request.order.task.GoodsSoundRecordingRequest;
import com.sf.fy.uav.common.request.order.task.TaskGoodsRequest;
import com.sf.fy.uav.good.entity.GoodsSoundRecording;

import java.util.List;

/**
 * @author LTQ
 */
public interface IGoodsSoundRecordingService extends IService<GoodsSoundRecording> {
    /**
     * 添加
     *
     * @param goodsSoundRecordingRequest
     */
    void add(GoodsSoundRecordingRequest goodsSoundRecordingRequest);

    /**
     * 删除
     * @param goodsSoundRecordingDeleteRequest
     */
    void delete(GoodsSoundRecordingDeleteRequest goodsSoundRecordingDeleteRequest);

    /**
     * 通过任务id获取
     * @param taskId
     * @return
     */
    List<GoodsSoundRecording> selectListByTaskId(String taskId);

    /**
     * 通过任务id修改
     * @param taskGoodsRequest
     */
    void updateByTaskId(TaskGoodsRequest taskGoodsRequest);
}
